package requests

import (
	"github.com/goravel/framework/contracts/http"
	"github.com/goravel/framework/contracts/validation"
)

type UserLoginRequest struct {
	Mobile   string `json:"mobile" form:"mobile"`
	Password string `json:"password" form:"password"`
}

func (r *UserLoginRequest) Authorize(ctx http.Context) error {
	return nil
}

func (r *UserLoginRequest) Rules(ctx http.Context) map[string]string {
	return map[string]string{}
}

func (r *UserLoginRequest) Messages(ctx http.Context) map[string]string {
	return map[string]string{}
}

func (r *UserLoginRequest) Attributes(ctx http.Context) map[string]string {
	return map[string]string{}
}

func (r *UserLoginRequest) PrepareForValidation(ctx http.Context, data validation.Data) error {
	return nil
}
